﻿/******************************************************   
创建者: 梁家健
创建时间: 2017-03-22
修改:
修改时间: 
功能: 单店类别金额占比实体
 ******************************************************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using com.nm.Attributes;

namespace PlanAPI.model
{
    public class PLShopKindRateModel
    {
        /// <summary>
        /// 单店类别金额占比实体
        /// </summary>
        /// Writer：梁家健
        /// Create Date：2017-03-22
        public class CreatModel:NeceModel
        {
            [ParamDescription("配货金额")]
            public decimal? MoveAmount { get; set; }
            [ParamDescription("供货金额")]
            public decimal? SupplyAmount { get; set; }
            [ParamDescription("销售金额")]
            public decimal? SaleAmount { get; set; }
            [ParamDescription("平均配销比(所有系列的配销比平均值)")]
            public decimal? AvgMSRate { get; set; }
            [ParamDescription("审核状态")]
            public long? CheckState { get; set; }
            [ParamDescription("审核人")]
            public string Checker { get; set; }
            [ParamDescription("修改时间")]
            public DateTime? MofifyDTM { get; set; }
            [ParamDescription("读取时间")]
            public DateTime? LoadTime { get; set; }
            [ParamDescription("修改时间")]
            public DateTime? EtlDate { get; set; }
        }

        /// <summary>
        /// 单店类别金额占比主要实体
        /// </summary>
        /// Writer：梁家健
        /// Create Date：2017-03-22
        public class NeceModel
        {
            [ParamDescription("公司代码")]
            public string CompanyID { get; set; }
            [ParamDescription("年份")]
            public long? Yearv { get; set; }
            [ParamDescription("季节")]
            public string SeasonID { get; set; }
            [ParamDescription("月份(暂时不到月，字段留空)")]
            public long? Monthv { get; set; }
            [ParamDescription("零售分区")]
            public string ParentAreaID { get; set; }
            [ParamDescription("店铺ID")]
            public string ShopID { get; set; }
            [ParamDescription("类别")]
            public string KindID { get; set; }
            [ParamDescription("配货金额占比(汇总至上一级的换算百分比)")]
            public decimal? MoveAmountRate { get; set; }
            [ParamDescription("供货金额占比(汇总至上一级的换算百分比)")]
            public decimal? SupplyAmountRate { get; set; }
            [ParamDescription("销售金额占比(汇总至上一级的换算百分比)")]
            public decimal? SaleAmountRate { get; set; }
            [ParamDescription("配销比")]
            public decimal? MSRate { get; set; }
            [ParamDescription("标准金额占比(公式计算)")]
            public decimal? StandAmountRate { get; set; }
            [ParamDescription("标准金额百分比(换算)(汇总至上一级的换算百分比)")]
            public decimal? PtStandAmountRate { get; set; }
            [ParamDescription("确认标准金额百分比(界面确认)")]
            public decimal? CkPtStandAmountRate { get; set; }
            [ParamDescription("备注")]
            public string Remark { get; set; }
            [ParamDescription("数据源")]
            public string ExtrSource { get; set; }
        }

        /// <summary>
        /// 单店类别金额占比显示实体
        /// </summary>
        /// Writer：梁家健
        /// Create Date：2017-03-22
        public class ListModel : NeceModel
        {
            [ParamDescription("店铺代码")]
            public string ShopCode { get; set; }
            [ParamDescription("店铺名称")]
            public string ShopName { get; set; }
            [ParamDescription("类别名称")]
            public string KindName { get; set; }
            [ParamDescription("商品区域名称")]
            public string ParentAreaName { get; set; }
            [ParamDescription("季节名称")]
            public string SeasonName { get; set; }
        }

        /// <summary>
        /// 单店类别金额占比修改实体
        /// </summary>
        /// Writer：梁家健
        /// Create Date：2017-03-22
        public class ModfiyModel
        {
            public IList<NeceModel> list { get; set; }
        }
    }
}
